package com.chrray.position.mapper.position;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chrray.position.domain.FdUser;
import com.chrray.position.entity.position.FdUserExe;
import com.chrray.position.pojo.vo.web.UserStaticsRightVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * 业务系统用户 持久层
 *
 * @author wusiwee
 * @email wusiwee@163.com
 * @since 1.0.1 2024-08-07
 */
@Mapper
public interface FdUserMapper extends BaseMapper<FdUser> {

    IPage<FdUserExe> pagePostingsUserList(@Param("page") IPage page, @Param("userName") String userName, @Param("gender") Integer gender, @Param("expectedSalaryStart") Integer expectedSalaryStart, @Param("expectedSalaryEnd") Integer expectedSalaryEnd, @Param("positionId") Long positionId, @Param("jobState") Integer jobState);


    List<UserStaticsRightVo> positionStaticsRight(@Param("startTime") LocalDate startTime, @Param("endTime") LocalDate endTime);
}
